# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=alien
pkgver=8.95.1
pkgrel=0
pkgdesc="Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
url="http://joeyh.name/code/alien"
arch="noarch"
license="GPL-2.0-only"
depends="perl"
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/a/alien/alien_$pkgver.tar.xz"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e57c22ba4c022f03272c535fae709981333ee1357b7ee84f40611f632c7c31e2418cbbafff0bd951e896ee2784a42f9ee040eb2286c24a82273108bc5352f5d6  alien_8.95.1.tar.xz"
